// 环境配置

//当前环境
const env =import.meta.env.MODE || 'prod'

const EnvConfig={
    development:{
        baseApi:'/api',
        mockApi:'https://mock.apifox.com/m1/4068509-0-default/api',
    },
    test:{
        baseApi:'//test.future.com/api',
        mockApi:'https://mock.apifox.com/m1/4068509-0-default/api',
    },
    pro:{
        baseApi:'//future.com/api',
        mockApi:'https://mock.apifox.com/m1/4068509-0-default/api',
    }
}

export default {
    env,
    //mock总开关
    mock:false,
    ...EnvConfig[env]
}